import Home from "../pages/Home/Home";
import City from "../pages/City/City";
import Laout from "../pages/Laout/Laout";
import Login from "../pages/Login/Login";
import Zhuce from "../pages/Zhuce/Zhuce";
import Xq from "../pages/Xq/Xq";
import My from '../pages/My/My'
import Chelist from "../pages/chelist/Chelist";

import Chengg from "../pages/chengg/Chengg";
const routes = [
  {
    path:'/chengg',
    element:<Chengg />
  },
  {
    path: "/list",
    element: <Chelist />,
  },
  {
    path: "/xq",
    element: <Xq />,
  },
  {
    path: "/login",
    element: <Login />,
  },
  {
    path: "/city",
    element: <City />,
  },
  {
    path: "/zhuce",
    element: <Zhuce />,
  },
  {
    path: "/",
    element: <Laout />,
    children: [
      {
        path: "/home",
        element: <Home />,
      },
      {
        path: "/my",
        element: <My />,
      },
    ],
  },
];

export default routes;
